package cn.itlaobing.service;

import cn.itlaobing.entity.UserEntity;

import java.util.List;

/**
 * Created by Berlin-IOU on 2017/12/4.
 */
public interface BaseService {
    public List<UserEntity> findAll();
    public UserEntity findById(Long id);
    public UserEntity saveOrUpdate(UserEntity userEntity);
    public void deleteById(Long id);
}
